﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Hangjing.Model
{
    //配送员（站）信息
    [Serializable]
    public class DeliverInfo
    {

        /// <summary>
		/// 用户余额
        /// </summary>
        public decimal usermoney
        {
            get;
            set;
        }

        /// <summary>
        /// reveint4
        /// </summary>
        public int reveint4
        {
            get;
            set;
        }

        /// <summary>
        /// reveint5
        /// </summary>
        public int reveint5
        {
            get;
            set;
        }

        /// <summary>
        /// reveint6
        /// </summary>
        public int reveint6
        {
            get;
            set;
        }

        /// <summary>
        /// revevar4
        /// </summary>
        public string revevar4
        {
            get;
            set;
        }

        /// <summary>
        /// revevar5
        /// </summary>
        public string revevar5
        {
            get;
            set;
        }

        /// <summary>
        /// revefloat3
        /// </summary>
        public decimal revefloat3
        {
            get;
            set;
        }

        /// <summary>
        /// revefloat4
        /// </summary>
        public decimal revefloat4
        {
            get;
            set;
        }

        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime deltime
        {
            set;
            get;
        }

        /// <summary>
        /// 操作人
        /// </summary>
        public string deluser
        {
            get;
            set;
        }

        private int _dataid;
        private string _codeid;
        private string _name;
        private string _phone;
        private string _section;
        private int _status;
        private string _gpsimei;
        private int _ordernum;
        private string _username;
        private string _password;
        private int _inve1;
        private string _inve2;
        private DateTime _adddate;

        //坐标相关
        private string _lat;
        private string _lng;
        private DateTime _loacltime;

        private int _distance;

        private int _direction;

        private decimal _speed;

        private string _carstate;

        /// <summary>
        /// 车况 离线显示灰色、停车显示黄色、行驶显示红色 
        /// </summary>
        public string carstate
        {
            set { _carstate = value; }
            get { return _carstate; }
        }

        /// <summary>
        /// 航向（0-360）
        /// </summary>
        public int direction
        {
            set { _direction = value; }
            get { return _direction; }
        }

        /// <summary>
        /// 速度(公里/小时)
        /// </summary>
        public decimal speed
        {
            set { _speed = value; }
            get { return _speed; }
        }


        /// <summary>
        /// 商家到配送员距离(米)
        /// </summary>
        public int distance
        {
            set { _distance = value; }
            get { return _distance; }
        }


        /// <summary>
        /// 编号主键
        /// </summary>
        public int DataId
        {
            set { _dataid = value; }
            get { return _dataid; }
        }

        /// <summary>
        /// 上下班状态：0表示下班，1表示上班
        /// </summary>
        public string CodeId
        {
            set { _codeid = value; }
            get { return _codeid; }
        }

        /// <summary>
        /// 姓名
        /// </summary>
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }

        /// <summary>
        /// 电话 接收短信的号码
        /// </summary>
        public string Phone
        {
            set { _phone = value; }
            get { return _phone; }
        }

        /// <summary>
        /// 在职状态
        /// </summary>
        public string Section
        {
            set { _section = value; }
            get { return _section; }
        }

        /// <summary>
        /// 状态 1在线 0 离线
        /// </summary>
        public int Status
        {
            set { _status = value; }
            get { return _status; }
        }

        /// <summary>
        /// 群组编号
        /// </summary>
        public string GpsIMEI
        {
            set { _gpsimei = value; }
            get { return _gpsimei; }
        }

        /// <summary>
        /// 手机类型=》0：android,1:iphone
        /// </summary>
        public int OrderNum
        {
            set { _ordernum = value; }
            get { return _ordernum; }
        }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName
        {
            set { _username = value; }
            get { return _username; }
        }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password
        {
            set { _password = value; }
            get { return _password; }
        }

        /// <summary>
        /// 城市编号
        /// </summary>
        public int Inve1
        {
            set { _inve1 = value; }
            get { return _inve1; }
        }

        /// <summary>
        /// 部门
        /// </summary>
        public string Inve2
        {
            set { _inve2 = value; }
            get { return _inve2; }
        }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddDate
        {
            set { _adddate = value; }
            get { return _adddate; }
        }

        /// <summary>
        /// 经纬度之 维度：30.260683333333333  latitude 
        /// </summary>
        public string Lat
        {
            set { _lat = value; }
            get { return _lat; }
        }

        /// <summary>
        ///  经纬度之 经度：120.16711333333333 longitude 
        /// </summary>
        public string Lng
        {
            set { _lng = value; }
            get { return _lng; }
        }

        /// <summary>
        /// 坐标时间（此坐标上传的时间）
        /// </summary>
        public DateTime LocalTime
        {
            set { _loacltime = value; }
            get { return _loacltime; }
        }

        /// <summary>
        /// 城市名称
        /// </string>
        public string cityname
        {
            get;
            set;
        }

        /// <summary>
        /// 群组名称
        /// </string>
        public string Groupname
        {
            get;
            set;
        }

        /// <summary>
        /// 上班状态：0:下班，10：待岗，20：取货中，30：送货中，40：异常
        /// </summary>
        public int workstate
        {
            get;
            set;
        }

        /// <summary>
        /// 车辆类型
        /// </summary>
        public string cartype
        {
            get;
            set;
        }

        /// <summary>
        /// 车辆所有人：0表示自带，1表示公司
        /// </summary>
        public int carower
        {
            get;
            set;
        }

        /// <summary>
        /// 车辆所有人文字：0表示自带，1表示公司
        /// </summary>
        public string carowerWord
        {
            get;
            set;
        }

        /// <summary>
        /// 车牌
        /// </summary>
        public string carnum
        {
            get;
            set;
        }

        /// <summary>
        /// 职位：100全职，90兼职
        /// </summary>
        public int post
        {
            get;
            set;
        }

        /// <summary>
        /// 等级：1-5
        /// </summary>
        public int grade
        {
            get;
            set;
        }

        /// <summary>
        /// 岗位: 0:配送员， 10：组长，20：副主管，30：主管，40：副经理，50：经理
        /// </summary>
        public int reveint1
        {
            get;
            set;
        }

        /// <summary>
        /// 岗位文字内容
        /// </summary>
        public string reveint1word
        {
            get;
            set;
        }

        /// <summary>
        /// 基本工资
        /// </summary>
        public int reveint2
        {
            get;
            set;
        }

        /// <summary>
        /// 提成比例（配送费的提成比例）
        /// </summary>
        public decimal reveint3
        {
            get;
            set;
        }

        /// <summary>
        /// 意外险
        /// </summary>
        public string revevar1
        {
            get;
            set;
        }

        /// <summary>
        /// 贴广告
        /// </summary>
        public string revevar2
        {
            get;
            set;
        }

        /// <summary>
        /// 审核状态：0：未审核，1：审核通过，2：拒绝
        /// </summary>
        public string revevar3
        {
            get;
            set;
        }

        /// <summary>
        /// 保证金
        /// </summary>
        public decimal revefloat1
        {
            get;
            set;
        }

        /// <summary>
        /// 医社保
        /// </summary>
        public decimal revefloat2
        {
            get;
            set;
        }

        /// <summary>
        /// revedate
        /// </summary>
        public DateTime revedate
        {
            get;
            set;
        }


        /// <summary>
        /// sessionid
        /// </summary>
        public string sessionid
        {
            get;
            set;
        }

        /// <summary>
        /// 记录数
        /// </summary>
        public int recordtcount
        {
            get;
            set;
        }


        /// <summary>
        /// 配送费
        /// </summary>
        public decimal shopdiscountmoney
        {
            get;
            set;
        }

        /// <summary>
        /// 提成 = 配送费*比例
        /// </summary>
        public decimal cut
        {
            get;
            set;
        }

        /// <summary>
        /// 工资合计=基本工资+提成
        /// </summary>
        public decimal salary
        {
            get;
            set;
        }

        /// <summary>
        /// 盈余=配送费-工资合计
        /// </summary>
        public decimal deliverprofit
        {
            get;
            set;
        }


        /// <summary>
        /// 进行中的订单数
        /// </summary>
        public int processcount
        {
            get;
            set;
        }

        /// <summary>
        /// 总里程
        /// </summary>
        public decimal cardpay
        {
            get;
            set;
        }


        /// <summary>
        /// 完成的订单数
        /// </summary>
        public int ordercount
        {
            get;
            set;
        }

        

        /// <summary>
        /// 详情信息
        /// </summary>
        public deliverInformationInfo detailinfo
        {
            get;
            set;
        }
    }


}
